package com.edu.hre.struts.form.recruit;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;
import org.apache.struts.util.LabelValueBean;

import com.edu.hre.common.utils.CommonUtils;

public class CandidateAddForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7060332950972556873L;
	
	private int id;
	private String firstName;
	private String middleName;
	private String lastName;
    private String email = "";
    private String contactNumber = "";
    private int gender = 0;

    private FormFile image = null;

    private List<LabelValueBean> allGenders = new ArrayList<LabelValueBean>();

    private boolean isAddNew = true;
    private String message = "";
    
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getMiddleName() {
		return middleName;
	}
	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getContactNumber() {
		return contactNumber;
	}
	public void setContactNumber(String contactNumber) {
		this.contactNumber = contactNumber;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public FormFile getImage() {
		return image;
	}
	public void setImage(FormFile image) {
		this.image = image;
	}
	public List<LabelValueBean> getAllGenders() {
		return allGenders;
	}
	public void setAllGenders(List<LabelValueBean> allGenders) {
		this.allGenders = allGenders;
	}
	public boolean isAddNew() {
		return isAddNew;
	}
	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	public boolean getIsAddNew() {
		return isAddNew;
	}
	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
}
